package com.ruoyi.smartcity.traffic.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 道路信息对象 traffic_road_information
 * 
 * @author ruoyi
 * @date 2025-02-24
 */
public class TrafficRoadInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 道路名称 */
    @Excel(name = "道路名称")
    private String roadName;

    /** 区域 */
    @Excel(name = "区域")
    private String area;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 等级 */
    @Excel(name = "等级")
    private String level;

    /** 长度，单位：米 */
    @Excel(name = "长度，单位：米")
    private BigDecimal length;

    /** 路段面积，单位：平方米 */
    @Excel(name = "路段面积，单位：平方米")
    private BigDecimal roadArea;

    /** 人行道面积，单位：平方米 */
    @Excel(name = "人行道面积，单位：平方米")
    private BigDecimal sidewalkArea;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRoadName(String roadName) 
    {
        this.roadName = roadName;
    }

    public String getRoadName() 
    {
        return roadName;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }
    public void setLength(BigDecimal length) 
    {
        this.length = length;
    }

    public BigDecimal getLength() 
    {
        return length;
    }
    public void setRoadArea(BigDecimal roadArea) 
    {
        this.roadArea = roadArea;
    }

    public BigDecimal getRoadArea() 
    {
        return roadArea;
    }
    public void setSidewalkArea(BigDecimal sidewalkArea) 
    {
        this.sidewalkArea = sidewalkArea;
    }

    public BigDecimal getSidewalkArea() 
    {
        return sidewalkArea;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("roadName", getRoadName())
            .append("area", getArea())
            .append("type", getType())
            .append("level", getLevel())
            .append("length", getLength())
            .append("roadArea", getRoadArea())
            .append("sidewalkArea", getSidewalkArea())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
